-
Home
-
Usercentrics Cookiebot – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode
-
4.6.0 (latest)
-
Code
-
Classes
- Cookiebot_Javascript_Helper
| Total Complexity |
75 |
| Dependencies |
4 |
| Dependents |
2 |
| Total lines |
339 |
| Lines of code |
246 |
| Logical lines of code |
136 |
| Comment lines |
32 |
| Methods |
15 |
| Properties |
0 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| include_google_tag_manager_js() |
A |
47 |
12 |
32 |
| include_google_consent_mode_js() |
A |
48 |
12 |
30 |
| get_data_regions() |
A |
52 |
11 |
24 |
| include_cookiebot_js() |
S |
50 |
7 |
29 |
| include_uc_cmp_js() |
S |
52 |
5 |
27 |
| get_custom_tcf_restrictions() |
S |
60 |
5 |
12 |
| get_hooks_by_frame() |
S |
57 |
4 |
17 |
| should_show_banner() |
S |
59 |
4 |
15 |
| get_consent_attribute() |
S |
64 |
4 |
10 |
| include_publisher_restrictions_js() |
S |
53 |
2 |
24 |
| debug_log() |
S |
72 |
3 |
5 |
| get_custom_tcf_ids() |
S |
71 |
2 |
6 |
| get_tcf_attribute() |
S |
65 |
2 |
9 |
| register_hooks() |
S |
81 |
1 |
3 |
| is_tcf_enabled() |
S |
79 |
1 |
3 |